<?php
$brand=R::load("shop_brands",$currentObject->brandid);

$image=$brand->logo;
?>

<img height="40px" src="<?=getFilesPath("shopbrands",false)."/".$image?>" title="<?=$currentObject->brandid?>"/>
